Skip to content

Conversation

sebsto
Copy link
Contributor

@sebsto sebsto commented Aug 1, 2025

re-implement MAX_INVOCATIONS and fix shell script
Fix #377

Motivation:

In v1, there was a script measuring the performance of the invocation loop.
Re-instate this script to allow users and developers to measure the performance impact of their changes.

Modifications:

I re-implemented MAX_INVOCATIONS, to avoid the client looping against the Mock Server. But this time, MAX_INVOCATIONS is handled on the server, not on the client.

I slightly modified the script to work with v2 and the new MockServer.

Result:

The script works.

This PR has a dependency on #465

@sebsto sebsto added this to the 2.0 milestone Aug 1, 2025
@sebsto sebsto self-assigned this Aug 1, 2025
@sebsto sebsto added the 🆕 semver/minor Adds new public API. label Aug 1, 2025
@sebsto sebsto changed the title Performance Test the invocation loop Performance Test the invocation loop (fix #377) Aug 3, 2025
@sebsto sebsto merged commit 11bea7b into swift-server:main Aug 5, 2025
34 checks passed
@sebsto sebsto deleted the sebsto/performance_tests branch August 5, 2025 06:39
@sebsto
Copy link
Contributor Author

sebsto commented Aug 5, 2025

proceeding and merging without a review as this does not touch the library itself, just a mock server used for perf testing and the test script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Performance tests for the invocation loop
1 participant